package com.xmy.study.service.impl;

import com.xmy.study.entity.Task;
import com.xmy.study.mapper.TaskMapper;
import com.xmy.study.service.ITaskService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 任务表 服务实现类
 * </p>
 *
 * @author Helin
 * @since 2024-03-18
 */
@Service
public class TaskServiceImpl extends ServiceImpl<TaskMapper, Task> implements ITaskService {

    @Autowired
    TaskMapper taskMapper;


    @Override
    public Task getTaskOneBackTaskNum(String yearPart, String quarterNum, Long courseVersionId, String subjectsId, Integer categoryId) {
        return taskMapper.getTaskOneBackTaskNum(yearPart,quarterNum,courseVersionId,subjectsId,categoryId);
    }

}
